我们可以将这个：

```python
llm.predict("What would be a good company name for a company that makes colorful socks?")
```

替换为：

```python
from langchain.chains import LLMChain

chain = LLMChain(llm=llm, prompt=prompt)
chain.run("colorful socks")
```
```pycon
Feetful of Fun
```
